home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 1.iso
/
ARGONET
/
PD
/
PROGRAMMING
/
DESKLIBC
/
SOURCES.ZIP
/
DeskLib
/
!DLSources
/
Libraries
/
Window
/
c
/
GetInfo3
< prev
next >
Wrap
Text File
|
1995-06-21
|
1KB
|
36 lines
/*
#### # # # #
# # # # # The FreeWare C library for
# # ## ### # # # # ### RISC OS machines
# # # # # # # # # # # ___________________________________
# # #### ### ## # # # #
# # # # # # # # # # Please refer to the accompanying
#### ### #### # # ##### # ### documentation for conditions of use
________________________________________________________________________
File: Window.GetInfo.c
Author: Copyright © 1992 Jason Williams, Cy Booker
Version: 1.01 (26 Nov 1994)
Purpose: High-level window management functions: Get Window info
Mods: 1.01 (26 Nov 1994) Jason Williams
1.02 (05 Mar 1995) Cy Booker
now returns an (os_error *)
*/
#include "DeskLib:Window.h"
#include "DeskLib:WimpSWIs.h"
extern os_error *Window_GetInfo3(window_handle window, window_info *result)
/* Returns just the window part of the window_info block (strips icon defn.s)
* This is a specific RISC OS 3 only call which uses a new feature of the
* SWI itself to strip the icon definitions from the returned data. THis
* will crash your program if used under RISC OS 2.
* If you wish to provide RO2 compatability, you must call
* Window_GetInfo() rather than Window_GetInfo3().
*/
{
result->window = window;
return Wimp_GetWindowInfo((window_info *) (((char *) result) + 1));
}